

import logging,yagmail,HTMLTestRunner_PY3

class Tools():


    # 封装测试报告的方法
    def Report(self):
        report = HTMLTestRunner_PY3.HTMLTestRunner(open('mqk.html','wb'),
                                                   title='孟勤凯测试报告',
                                                   description='孟勤凯很棒！')
        return report